# -*- coding=utf-8 -*-
import os,time

class DeuFileImpl:
    def __init__(self):
        print("进入文件操作类！!!!")

    def createDeuFile(self, WinMain, serverType, localCache, serverHost, serverPort, porcessCount, cjfzy,
                      fcPorcess=False):
        if serverType == "Server":
            if os.path.exists(os.getcwd() + "\\inputdata\\server.du"):
                return True
            else:
                pass  # 创建DU文件
                return True
        else:
            if os.path.exists(os.getcwd() + "\\inputdata\\server.du"):
                return True
            else:
                pass  # 创建DU文件
                return True

    def connDeuFile(self, WinMain, serverType):
        if serverType == "Server":
            pass  # 添加服务连接
        else:
            pass
